package com.bp.hearthealth.pulse.lnapps.bp_di

import com.bp.hearthealth.pulse.lnapps.bp_db.bp_project.BpDataBaseManager
import com.bp.hearthealth.pulse.lnapps.bp_ui.bp_activity.bp_blood_pressure.BpBloodPressureRepository
import com.bp.hearthealth.pulse.lnapps.bp_ui.bp_activity.bp_blood_pressure.BpBloodPressureViewModel
import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.dsl.module

val pressureLib = module {
    single {
        BpBloodPressureRepository(BpDataBaseManager.getInstance().getBloodPressure())
    }
    viewModel { BpBloodPressureViewModel(get()) }
}